package org.xfy.sys.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;
import org.xfy.base.domain.BaseDomain;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.xfy.org.domain.Department;

/**
 * 实体类：
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Menu extends BaseDomain{

    private String name;
    private String component;
    private String url;
    private String icon;
    private Integer index;
    private Long parentId;
    private String intro;
    private Boolean state;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<Menu> children =new ArrayList<Menu>();


}
